package org.hxzon.cyclone;

public class Util {

    public static double RealMax = Double.MAX_VALUE;
    //public static double R_PI=3.14159265358979;//precision.h
    public static double R_PI = Math.PI;

    public static double realPow(double v, double pow) {
        return Math.pow(v, pow);
    }

    public static double realSqrt(double v) {
        return Math.sqrt(v);
    }

    public static double realAbs(double v) {
        return Math.abs(v);
    }

    public static double realCos(double v) {
        return Math.cos(v);
    }

    public static double realSin(double v) {
        return Math.sin(v);
    }

    public static double realExp(double v) {
        return Math.exp(v);
    }
}
